package com.aaa.mrcai.service;

import com.aaa.mrcai.pojo.vo.GoodsVO;
import com.aaa.mrcai.query.GoodsQuery;
import com.aaa.mrcai.result.AjaxResult;

/**
 * @Author:Li-Yan-Chun
 * @Date:2021/12/6 11:37
 */
public interface GoodsService {
    AjaxResult list(GoodsQuery goodsQuery);

    AjaxResult listCategory();

    AjaxResult delGoods(int id);

    AjaxResult listSpec();

    AjaxResult lisBrand();

    AjaxResult listGrade();

    AjaxResult listDeposit();



    AjaxResult addOneGoods(GoodsVO goodsVO);

    AjaxResult uploadGoods(GoodsVO goodsVO);

    AjaxResult getOneGoods(int id);

    AjaxResult updateOneGoods(GoodsVO goodsVO);

    AjaxResult updateImg(GoodsVO goodsVO);
}
